]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Darken workspace indicator when doing lightbox effect
authorFlorian Muellner <florian.muellner@gmail.com>
Sun, 15 Nov 2009 01:24:43 +0000 (02:24 +0100)
committerColin Walters <walters@verbum.org>
Mon, 16 Nov 2009 16:22:46 +0000 (11:22 -0500)
Adjust the opacity of the workspace indicator to not having it stand out too badly when in lightbox mode.

https://bugzilla.gnome.org/show_bug.cgi?id=594556

js/ui/workspaces.js

index 1cde8acce9e6cca12706dec3973adc5a96d4cf86..8e4a60d97a6f81c525e7f7af76df92ef8c928f81 100644 (file)
@@ -575,6 +575,9 @@ Workspace.prototype = {
             this._lightbox.destroy();
             this._lightbox = null;
         }
+        if (this._frame) {
+            this._frame.set_opacity(showLightbox ? 150 : 255);
+        }
     },
 
     /**